<?php


namespace app\api\controller\v1;
use app\api\service\douyin\DouyinOrderService;
use think\Request;

class DouyinOrder
{
    /**
     * @var DouyinOrder
     */
    private $DouyinOrderService;

    /**
     * DouyinOrder constructor.
     */
    public function __construct()
    {
        $this->DouyinOrderService = DouyinOrderService::getInstance();
    }
    /**
     * 抖店-订单创建消息推送
     */
    public function orderPush(Request $request)
    {
        $params = $request->post();
        $data   =   $this->DouyinOrderService->orderPush($params);
        return writeJson(200,$data);
    }
}